package ua.dp.mzav.train.tm.model;

/** Class provides functionality for creating Employee 
 * and assigning Roles for them according to the Requirements.
 *
 */
public class EmployeeManagement
{
    /** This factiory creates new Employee.
     * 
     * @return newly created Employee.
     */
    public Employee createEmployee()
    {
        return new Employee();
    }

    /** This factiory creates "Initial HR" according to FR3.1.
     * 
     * @return newly created "Initial HR" Employee.
     */
    public Employee createInitialHR()
    {
        Employee retVal = new Employee();
        retVal.id = Employee.INITIAL_HR_ID;

        retVal.setLastName("Initial HR");

        return retVal;
    }
}
